package com.efast.dmom.mes.entity;

import java.time.LocalDate;

import com.efast.dmom.mes.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;

public class EquipRepairInfoEntity extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7971117550782774946L;
	
	private String repairInfoNumber;
	private long equipId;
	private double repairCosttime;
	private int faultType;
	private String repairor;
	private String oparator;

	@JsonDeserialize(using = LocalDateDeserializer.class)
	@JsonSerialize(using = LocalDateSerializer.class)
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
	private LocalDate repairTime;
	
	private String faultDescription;
    private String repairDetails;
    
    private String faultAnalysis;
    
	public String getRepairInfoNumber() {
		return repairInfoNumber;
	}
	public void setRepairInfoNumber(String repairInfoNumber) {
		this.repairInfoNumber = repairInfoNumber;
	}
	public long getEquipId() {
		return equipId;
	}
	public void setEquipId(long equipId) {
		this.equipId = equipId;
	}
	public double getRepairCosttime() {
		return repairCosttime;
	}
	public void setRepairCosttime(double repairCosttime) {
		this.repairCosttime = repairCosttime;
	}
	public int getFaultType() {
		return faultType;
	}
	public void setFaultType(int faultType) {
		this.faultType = faultType;
	}
	public String getRepairor() {
		return repairor;
	}
	public void setRepairor(String repairor) {
		this.repairor = repairor;
	}
	public String getOparator() {
		return oparator;
	}
	public void setOparator(String oparator) {
		this.oparator = oparator;
	}
	public LocalDate getRepairTime() {
		return repairTime;
	}
	public void setRepairTime(LocalDate repairTime) {
		this.repairTime = repairTime;
	}
	public String getFaultDescription() {
		return faultDescription;
	}
	public void setFaultDescription(String faultDescription) {
		this.faultDescription = faultDescription;
	}
	public String getRepairDetails() {
		return repairDetails;
	}
	public void setRepairDetails(String repairDetails) {
		this.repairDetails = repairDetails;
	}
	public String getFaultAnalysis() {
		return faultAnalysis;
	}
	public void setFaultAnalysis(String faultAnalysis) {
		this.faultAnalysis = faultAnalysis;
	}	
	
	
}
